<!DOCTYPE html>
<html lang="en" ng-app="myApp">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <title>Title</title>
    <script src="js/angular-1.4.6.min.js"></script>
    <script src="js/angular-ui-router.js"></script>
    <script src="js/font.js"></script>
    <script src="js/jquery-1.7.2.js"></script>
    <link rel="stylesheet" href="css/index.css">
    <link rel="stylesheet" href="font-awesome/css/font-awesome.min.css">
    <link rel="stylesheet" href="css/base.css">
    <script src="js/app.js"></script>
    <script src="controller/onepage.js"></script>
    <script src="controller/twopage.js"></script>
    <script src="controller/threepage.js"></script>
    <script src="router/router.js"></script>
</head>
<body>
<div class="content">
<div ui-view="" style="height: 100%"></div>
</div>
<footer>
    <ul class="fot">
        <li ui-sref="onepage.yi"><i class="fa fa-home"></i><br/>首页</li>
        <li ui-sref="twopage"><i class="fa fa-th-large"></i><br/>分类</li>
        <li ui-sref="threepage.yi"><i class="fa fa-user"></i><br/>我</li>
    </ul>
</footer>
<script>
    $(".fot li").click(function () {
        $("li").eq($(this).index()).css("color","#f24046").siblings().css("color","#9B9B9B")
    })
</script>
</body>
</html>